import request from '@/utils/http'

export const getNewsListAPI = () => request.get('/news/list')

export const getNewsByIdAPI = id => request.get(`/news/${id}`)

export const getLatestNewsAPI = () => request.get('/news')